﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BrokerPresentation
{



/// <summary>
/// 
/// </summary>
public class Server
{
    private ServerProxy serverProxy;



    /// <summary>
    /// 
    /// </summary>
    public Server()
    {
        serverProxy = new ServerProxy( new FunctionInvokation(this.InvokeFunctionA) );
    }



    /// <summary>
    /// 
    /// </summary>
    /// <param name="arguments"></param>
    /// <returns></returns>
    public Object InvokeFunctionA(Object arguments)
    {
        //Do something with the arguments an return the result.
        return arguments.ToString();
    }
}

}